# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements.  See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership.  The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not use this file except in compliance
# with the License.  You may obtain a copy of the License at
#
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied.  See the License for the
# specific language governing permissions and limitations
# under the License.

from aliyunsdkcore.request import RpcRequest
from aliyunsdkpolardb.endpoint import endpoint_data

class CreateCronJobPolicyServerlessRequest(RpcRequest):

	def __init__(self):
		RpcRequest.__init__(self, 'polardb', '2017-08-01', 'CreateCronJobPolicyServerless','polardb')
		self.set_protocol_type('https')
		self.set_method('POST')

		if hasattr(self, "endpoint_map"):
			setattr(self, "endpoint_map", endpoint_data.getEndpointMap())
		if hasattr(self, "endpoint_regional"):
			setattr(self, "endpoint_regional", endpoint_data.getEndpointRegional())

	def get_ScaleRoNumMax(self): # String
		return self.get_query_params().get('ScaleRoNumMax')

	def set_ScaleRoNumMax(self, ScaleRoNumMax):  # String
		self.add_query_param('ScaleRoNumMax', ScaleRoNumMax)
	def get_ResourceOwnerId(self): # Long
		return self.get_query_params().get('ResourceOwnerId')

	def set_ResourceOwnerId(self, ResourceOwnerId):  # Long
		self.add_query_param('ResourceOwnerId', ResourceOwnerId)
	def get_CronExpression(self): # String
		return self.get_query_params().get('CronExpression')

	def set_CronExpression(self, CronExpression):  # String
		self.add_query_param('CronExpression', CronExpression)
	def get_ServerlessRuleMode(self): # String
		return self.get_query_params().get('ServerlessRuleMode')

	def set_ServerlessRuleMode(self, ServerlessRuleMode):  # String
		self.add_query_param('ServerlessRuleMode', ServerlessRuleMode)
	def get_ScaleApRoNumMax(self): # String
		return self.get_query_params().get('ScaleApRoNumMax')

	def set_ScaleApRoNumMax(self, ScaleApRoNumMax):  # String
		self.add_query_param('ScaleApRoNumMax', ScaleApRoNumMax)
	def get_StartTime(self): # String
		return self.get_query_params().get('StartTime')

	def set_StartTime(self, StartTime):  # String
		self.add_query_param('StartTime', StartTime)
	def get_ScaleMax(self): # String
		return self.get_query_params().get('ScaleMax')

	def set_ScaleMax(self, ScaleMax):  # String
		self.add_query_param('ScaleMax', ScaleMax)
	def get_ServerlessRuleCpuEnlargeThreshold(self): # String
		return self.get_query_params().get('ServerlessRuleCpuEnlargeThreshold')

	def set_ServerlessRuleCpuEnlargeThreshold(self, ServerlessRuleCpuEnlargeThreshold):  # String
		self.add_query_param('ServerlessRuleCpuEnlargeThreshold', ServerlessRuleCpuEnlargeThreshold)
	def get_SecondsUntilAutoPause(self): # String
		return self.get_query_params().get('SecondsUntilAutoPause')

	def set_SecondsUntilAutoPause(self, SecondsUntilAutoPause):  # String
		self.add_query_param('SecondsUntilAutoPause', SecondsUntilAutoPause)
	def get_ScaleApRoNumMin(self): # String
		return self.get_query_params().get('ScaleApRoNumMin')

	def set_ScaleApRoNumMin(self, ScaleApRoNumMin):  # String
		self.add_query_param('ScaleApRoNumMin', ScaleApRoNumMin)
	def get_ScaleMin(self): # String
		return self.get_query_params().get('ScaleMin')

	def set_ScaleMin(self, ScaleMin):  # String
		self.add_query_param('ScaleMin', ScaleMin)
	def get_ResourceOwnerAccount(self): # String
		return self.get_query_params().get('ResourceOwnerAccount')

	def set_ResourceOwnerAccount(self, ResourceOwnerAccount):  # String
		self.add_query_param('ResourceOwnerAccount', ResourceOwnerAccount)
	def get_DBClusterId(self): # String
		return self.get_query_params().get('DBClusterId')

	def set_DBClusterId(self, DBClusterId):  # String
		self.add_query_param('DBClusterId', DBClusterId)
	def get_OwnerAccount(self): # String
		return self.get_query_params().get('OwnerAccount')

	def set_OwnerAccount(self, OwnerAccount):  # String
		self.add_query_param('OwnerAccount', OwnerAccount)
	def get_EndTime(self): # String
		return self.get_query_params().get('EndTime')

	def set_EndTime(self, EndTime):  # String
		self.add_query_param('EndTime', EndTime)
	def get_ServerlessRuleCpuShrinkThreshold(self): # String
		return self.get_query_params().get('ServerlessRuleCpuShrinkThreshold')

	def set_ServerlessRuleCpuShrinkThreshold(self, ServerlessRuleCpuShrinkThreshold):  # String
		self.add_query_param('ServerlessRuleCpuShrinkThreshold', ServerlessRuleCpuShrinkThreshold)
	def get_OwnerId(self): # Long
		return self.get_query_params().get('OwnerId')

	def set_OwnerId(self, OwnerId):  # Long
		self.add_query_param('OwnerId', OwnerId)
	def get_ScaleRoNumMin(self): # String
		return self.get_query_params().get('ScaleRoNumMin')

	def set_ScaleRoNumMin(self, ScaleRoNumMin):  # String
		self.add_query_param('ScaleRoNumMin', ScaleRoNumMin)
	def get_AllowShutDown(self): # String
		return self.get_query_params().get('AllowShutDown')

	def set_AllowShutDown(self, AllowShutDown):  # String
		self.add_query_param('AllowShutDown', AllowShutDown)
